package org.jeecg.modules.clue.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 线索记录
 * @Author: jeecg-boot
 * @Date:   2025-01-08
 * @Version: V1.0
 */
@Data
@TableName("clue_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="clue_record对象", description="线索记录")
public class ClueRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    @Excel(name = "录入时间", width = 15,format="yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;


	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**记录编号*/
	@Excel(name = "记录编号", width = 15)
    @ApiModelProperty(value = "记录编号")
    private java.lang.String recordNo;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private java.lang.String phone;
	/**城市*/
    @Excel(name = "城市", width = 15 )
    @ApiModelProperty(value = "城市")
    private java.lang.String city;

   /**录入方式*/
	@Excel(name = "录入方式", width = 15, dicCode = "clue_write_mode")
	@Dict(dicCode = "clue_write_mode")
    @ApiModelProperty(value = "录入方式")
    private java.lang.String writeMode;
	/**线索来源*/
	@Excel(name = "线索来源", width = 15, dictTable = "sys_user", dicText = "username", dicCode = "username")
	@Dict(dictTable = "sys_user", dicText = "username", dicCode = "username")
    @ApiModelProperty(value = "线索来源")
    private java.lang.String source;

    /**品牌名称*/
    @Excel(name = "品牌名称", width = 15 )
     @ApiModelProperty(value = "品牌名称")
    private java.lang.String brandName;

 /**车系*/
    @Excel(name = "车系", width = 15 )
     @ApiModelProperty(value = "车系")
    private java.lang.String seriesName;

 /**车型*/
    @Excel(name = "车型", width = 15 )
     @ApiModelProperty(value = "车型")
    private java.lang.String specName;
    /**首次上牌时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "首次上牌时间")
    @Excel(name = "首次上牌时间", width = 15,format="yyyy-MM-dd")
    private java.util.Date firstRegTime;
    /**行驶里程*/
    @Excel(name = "行驶里程", width = 15 )
    @ApiModelProperty(value = "行驶里程")
    private Integer mileage;









}
